home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
system
/
ffg202.zip
/
UTIL_BAT.ZIP
/
INIEDIT.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-12-05
|
810b
|
33 lines
@echo off
if %1.==/?. goto USAGE
echo Searching for .INI files to edit...
ffg /fp /qfm /p0 > list.ped *:*.INI %1 %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel 101 if not errorlevel 102 goto INT_FOUND
if errorlevel 100 if not errorlevel 101 goto INT_NONE
if errorlevel 1 if not errorlevel 2 goto FOUND
goto NONE_FOUND
:INT_NONE
echo.
echo WARNING!: Search interrupted by user, more files may exist.
pause
:NONE_FOUND
echo.
echo No files found.
goto END
:INT_FOUND
echo.
echo WARNING!: Search interrupted by user, more files may exist.
pause
:FOUND
echo Loading files into editor...
pe @list.ped
goto END
:USAGE
echo.
echo Edits .INI files on all drives.
echo.
echo USAGE: %0 [FFG Options]
echo.
:END
if exist list.ped del list.ped